// eslint-disable-next-line
import { UserLayout } from '@/layouts'

// 路由模块
import TouTiaoADVRouter from '@/config/modules/ADV/TouTiaoADV'

export const asyncRouterMap = [
  TouTiaoADVRouter
]

/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/user',
    component: UserLayout,
    redirect: '/user/login',
    hidden: true,
    children: [
      {
        path: 'login',
        name: 'login',
        component: () => import( '@/views/CommonView/user/Login')
      }
    ]
  },
  // {
  //   path: '/404',
  //   component: () => import('@/views/CommonView/Exception/404')
  // }
]
